﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Concurrent;
using CRM.Entity;

namespace CRM.Dictionary.Box
{
    public partial class DictionaryBox
    {
         public static ConcurrentDictionary<Int64, Sys_UserInfo> Sys_UserInfoDictionary = new ConcurrentDictionary<Int64, Sys_UserInfo>();
         public static ConcurrentDictionary<Int64, News_Detail> News_DetailDictionary = new ConcurrentDictionary<Int64, News_Detail>();
         public static ConcurrentDictionary<Int64, News_Type> News_TypeDictionary = new ConcurrentDictionary<Int64, News_Type>();
      
        /// <summary>
        /// 清除除了用户表外的内存
        /// </summary>
        public static void ClearAll()
        {  
            Sys_UserInfoDictionary.Clear();

            News_DetailDictionary.Clear();

            News_TypeDictionary.Clear();
        }
    }
}
